import Login from './modules/login'
import Home from './modules/home'
import ClassPlan from './modules/classPlan'
import ClassRecord from './modules/classRecord'
import PersonCenter from './modules/personCenter'
export default [
  Login,
  {
    path: '/layout',
    name: 'layout',
    component: () => import('../views/layout/Index'),
    meta: {
      title: '在线课堂',
      keepAlive: false
    },
    children: [Home, ClassPlan, ClassRecord, PersonCenter]
  },
  {
    path: '*',
    redirect: {
      name: 'login',
      replace: true
    }
  }
]
